package dict;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class BcDict {
	
	//错误类型
	public static final Map<String, String> MESSAGES = Collections.synchronizedMap(new HashMap<String, String>());
	
	public final static String BC_SUCCESS= "0000";
	public final static String BC_FAILURE= "9999";
	public final static String BC_AUTHENT = "9475" ;
	
	public final static String BC_NOT_EXIST= "BC01";
	public final static String BC_FETCH_EXCEPTION= "BC02";
	public final static String BC_STATUS_EXCEPTION= "BC03";
	public final static String BC_PERSIST_EXCEPTION= "BC04";
	public final static String BC_PROCESS_EXCEPTION= "BC05";
	public final static String BC_ALREADY_EXIST= "BC06";
	public final static String BC_REMOVE_EXCEPTION= "BC07";
	public final static String BC_CSTATUS_EXCEPTION= "BC08";
	

	static {
		MESSAGES.put(BC_SUCCESS, "Sales Successful");
		MESSAGES.put(BC_FAILURE, "Sales Failure");
		
		MESSAGES.put(BC_NOT_EXIST, "bc not exist");
		MESSAGES.put(BC_FETCH_EXCEPTION, "bc fetch exception");
		MESSAGES.put(BC_STATUS_EXCEPTION, "bc status exception");
		MESSAGES.put(BC_PERSIST_EXCEPTION, "bc persist exception");
		MESSAGES.put(BC_PROCESS_EXCEPTION, "bc process exception");
		MESSAGES.put(BC_ALREADY_EXIST, "bc already exist");
		MESSAGES.put(BC_REMOVE_EXCEPTION, "bc remove exception");
		MESSAGES.put(BC_CSTATUS_EXCEPTION, "bc audit status exception");
		
	}


}
